home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
mimic.zip
/
MIMIC.DOC
< prev
next >
Wrap
Text File
|
1992-10-22
|
4KB
|
106 lines
M I M I C
+ + + + + +
Version 1.10 Compiled 10/22/92
by
Michael A. Conley
Another Public Domain Wildcat! SysOp's Utility
from
The Charlatan's Cabin BBS
(213) 654-7337
This program requires BRUN40.EXE anywhere in the DOS path.
WHAT IT DOES:
=============
MIMIC will take an ordinary text file and prepare it for import into
your Wildcat! message database, utilizing the UTIIMPRT program (one of
the Universal Text Interface drivers which are widely available.)
In addition to producing the correctly formatted headers, MIMIC will also
break messages into units of 150 lines, and place a remark at the beginning
of subsequent parts indicating that it's a continuation of the previous
message. If MIMIC can detect a paragraph break (by locating indented text
or a blank line) within the last 30 lines of a message, it will break the
message at that point, to help make the text more readable. MIMIC will
also trim excess-width lines to the UTI maximum of 72 characters.
You specify the name of the INPUT file on the DOS command line. MIMIC will
produce a file named MIMIC.IN which can be processed by UTIIMPRT.
SETTING UP:
===========
MIMIC searches your DOS path for MIMIC.CFG, a short configuration file which
tells MIMIC how to address your message:
TO=MICHAEL CONLEY
FROM=MIMIC PROGRAM
SUBJECT=Here's a message for you
PVTFLAG=YES
ECHOFLAG=NO
The 5 lines above are required to run MIMIC, a program which will import
the text file specified on the DOS command line and produce MIMIC.IN, a
text file formatted for import to your message database via the UTIIMPRT
program (one of the UTI drivers available for Wildcat! and other popular
BBS software packages.)
Here's a brief explanation of the lines:
TO= Place the name of the intended message recipient in
this field. You must limit the length to the number
of characters allowed by your BBS software.
FROM= Place the name of the author of the message in this
field. You must limit the length to the number of
characters allowed by your BBS software.
SUBJECT= Indicate the subject of the message here. This field
will accept upper and lower case. You must limit the
length of this field to the number of characters allowed
by your BBS software.
PVTFLAG= If you'd like this message to be private, put the word
YES in this field.
ECHOFLAG= If you'd like this message to be echoed to the network,
put the word YES in this field.
RUNNING THE PROGRAM:
====================
MIMIC generates a new text file named MIMIC.IN which can be read directly
by the UTI import program. You'll want to test MIMIC to be sure it can
find its configuration file and also the text file you've specified on
the DOS command line.
You may add an optional switch to the MIMIC command line to over-ride the
SUBJECT text in the configuration file. This might be useful if you wanted
to use MIMIC to produce several messages without creating multiple .CFG
files. To use the switch, invoke MIMIC with the input filename first,
then the switch as /S=Different Subject Text Here
MIMIC TROUBLE.RPT /S=Report of System Trouble
You'll need to run UTIIMPRT after EACH run of MIMIC, because MIMIC
will always create MIMIC.IN, and will over-write it on subsequent
operations.
It's best to run MIMIC from a batch file -- we'll call it MSG.BAT:
(be sure you DON'T name it MIMIC.BAT or you'll confuse DOS).
Here's a sample MSG.BAT:
@echo off
REM first remove any outdated copy of MIMIC.IN
if exist mimic.in del mimic.in
MIMIC SYSTEM.RPT
if not exist mimic.in goto done
UTIIMPRT <conf-number> MIMIC.IN
:done